package com.kws.commercial.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.kws.commercial.dao.CommercialWorkOrderManagement;
import com.kws.commercial.dao.Info.QueryWorkOrderInfo;
import com.kws.commercial.dao.Rq.CreateWorkOrderRq;
import com.kws.commercial.dao.Rq.QueryWorkOrderPageRq;

public interface CommercialWorkOrderService extends IService<CommercialWorkOrderManagement> {
    PageInfo<QueryWorkOrderInfo> queryWorkOrderPage(QueryWorkOrderPageRq rq);

    boolean createWorkOrder(CreateWorkOrderRq rq);

    QueryWorkOrderInfo queryWorkOrderById(Long id);
}
